import redis
ip = '10.100.19.244'
password = ''
conn_pool = redis.ConnectionPool(host=ip,password=password, port=6380)
r = redis.Redis(connection_pool=conn_pool)

def redisToDate(name,loanOrder, value):
    r.hset(name,loanOrder,value)
    print(r.hget(name,loanOrder))


# if __name__ == '__main__':
#     redisToDate('cashloan:auth:step:AUTH_1003','loanOrder','value');
